!function(h,g,v,b){h.site=h.fn.site=function(e){var s,i=(new Date).getTime(),o=[],t=e,n="string"==typeof t,c=[].slice.call(arguments,1),l=h.isPlainObject(e)?h.extend(!0,{},h.site.settings,e):h.extend({},h.site.settings),a=l.namespace,u=l.error,r="module-"+a,d=h(v),f=this,m=d.data(r),p={initialize:function(){p.instantiate()},instantiate:function(){m=p,d.data(r,p)},normalize:function(){p.fix.console(),p.fix.requestAnimationFrame()},fix:{console:function(){console!==b&&console.log!==b||p.disable.console(),void 0!==console.group&&void 0!==console.groupEnd&&void 0!==console.groupCollapsed||(g.console.group=function(){},g.console.groupEnd=function(){},g.console.groupCollapsed=function(){}),void 0===console.markTimeline&&(g.console.markTimeline=function(){})},consoleClear:function(){g.console.clear=function(){}},requestAnimationFrame:function(){g.requestAnimationFrame===b&&(g.requestAnimationFrame=g.requestAnimationFrame||g.mozRequestAnimationFrame||g.webkitRequestAnimationFrame||g.msRequestAnimationFrame||function(e){setTimeout(e,0)})}},moduleExists:function(e){return h.fn[e]!==b&&h.fn[e].settings!==b},enabled:{modules:function(e){var n=[];return e=e||l.modules,h.each(e,function(e,t){p.moduleExists(t)&&n.push(t)}),n}},disabled:{modules:function(e){var n=[];return e=e||l.modules,h.each(e,function(e,t){p.moduleExists(t)||n.push(t)}),n}},change:{setting:function(o,a,e,r){e="string"==typeof e?"all"===e?l.modules:[e]:e||l.modules,r=r===b||r,h.each(e,function(e,t){var n,i=!p.moduleExists(t)||(h.fn[t].settings.namespace||!1);p.moduleExists(t)&&(h.fn[t].settings[o]=a,r&&i&&0<(n=h(":data(module-"+i+")")).length&&n[t]("setting",o,a))})},settings:function(i,e,o){e="string"==typeof e?[e]:e||l.modules,o=o===b||o,h.each(e,function(e,t){var n;p.moduleExists(t)&&(h.extend(!0,h.fn[t].settings,i),o&&a&&0<(n=h(":data(module-"+a+")")).length&&n[t]("setting",i))})}},enable:{console:function(){p.console(!0)},debug:function(e,t){e=e||l.modules,p.change.setting("debug",!0,e,t)},verbose:function(e,t){e=e||l.modules,p.change.setting("verbose",!0,e,t)}},disable:{console:function(){p.console(!1)},debug:function(e,t){e=e||l.modules,p.change.setting("debug",!1,e,t)},verbose:function(e,t){e=e||l.modules,p.change.setting("verbose",!1,e,t)}},console:function(e){if(e){if(m.cache.console===b)return void p.error(u.console);g.console=m.cache.console}else m.cache.console=g.console,g.console={clear:function(){},error:function(){},group:function(){},groupCollapsed:function(){},groupEnd:function(){},info:function(){},log:function(){},markTimeline:function(){},warn:function(){}}},destroy:function(){d.removeData(r)},cache:{},setting:function(e,t){if(h.isPlainObject(e))h.extend(!0,l,e);else{if(t===b)return l[e];l[e]=t}},internal:function(e,t){if(h.isPlainObject(e))h.extend(!0,p,e);else{if(t===b)return p[e];p[e]=t}},debug:function(){l.debug&&(l.performance?p.performance.log(arguments):(p.debug=Function.prototype.bind.call(console.info,console,l.name+":"),p.debug.apply(console,arguments)))},verbose:function(){l.verbose&&l.debug&&(l.performance?p.performance.log(arguments):(p.verbose=Function.prototype.bind.call(console.info,console,l.name+":"),p.verbose.apply(console,arguments)))},error:function(){p.error=Function.prototype.bind.call(console.error,console,l.name+":"),p.error.apply(console,arguments)},performance:{log:function(e){var t,n;l.performance&&(n=(t=(new Date).getTime())-(i||t),i=t,o.push({Element:f,Name:e[0],Arguments:[].slice.call(e,1)||"","Execution Time":n})),clearTimeout(p.performance.timer),p.performance.timer=setTimeout(p.performance.display,500)},display:function(){var e=l.name+":",n=0;i=!1,clearTimeout(p.performance.timer),h.each(o,function(e,t){n+=t["Execution Time"]}),e+=" "+n+"ms",(console.group!==b||console.table!==b)&&0")},fields:function(e){var n=R();return R.each(e,function(e,t){n=n.add(y.get.field(t))}),n},validation:function(n){var i,o;return!!l&&(R.each(l,function(e,t){o=t.identifier||e,y.get.field(o)[0]==n[0]&&(t.identifier=o,i=t)}),i||!1)},value:function(e){var t=[];return t.push(e),y.get.values.call(g,t)[e]},values:function(e){var e=Array.isArray(e)?y.get.fields(e):t,s={};return e.each(function(e,t){var n=R(t),i=(n.prop("type"),n.prop("name")),o=n.val(),a=n.is(d.checkbox),r=n.is(d.radio),t=-1!==i.indexOf("[]"),n=!!a&&n.is(":checked");i&&(t?(i=i.replace("[]",""),s[i]||(s[i]=[]),a?n?s[i].push(o||!0):s[i].push(!1):s[i].push(o)):r?s[i]!==F&&0!=s[i]||(s[i]=!!n&&(o||!0)):s[i]=a?!!n&&(o||!0):o)}),s}},has:{field:function(e){return"string"!=typeof(e=y.escape.string(e))&&y.error(a.identifier,e),0"}),R(n+="")},prompt:function(e){return R("
").addClass("ui basic red pointing prompt label").html(e[0])}},rules:{empty:function(e){return!(e===F||""===e||Array.isArray(e)&&0===e.length)},checked:function(){return 0=t},length:function(e,t){return e!==F&&e.length>=t},exactLength:function(e,t){return e!==F&&e.length==t},maxLength:function(e,t){return e!==F&&e.length<=t},match:function(e,t){var n;R(this);return 0=t)},exactCount:function(e,t){return 0==t?""===e:1==t?""!==e&&-1===e.search(","):e.split(",").length==t},maxCount:function(e,t){return 0!=t&&(1==t?-1===e.search(","):e.split(",").length<=t)}}}}(jQuery,window,document),function(w,T,k){"use strict";T=void 0!==T&&T.Math==Math?T:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),w.fn.accordion=function(o){var g,a=w(this),v=(new Date).getTime(),b=[],y=o,x="string"==typeof y,C=[].slice.call(arguments,1);T.requestAnimationFrame||T.mozRequestAnimationFrame||T.webkitRequestAnimationFrame||T.msRequestAnimationFrame;return a.each(function(){var r=w.isPlainObject(o)?w.extend(!0,{},w.fn.accordion.settings,o):w.extend({},w.fn.accordion.settings),s=r.className,e=r.namespace,c=r.selector,l=r.error,t="."+e,n="module-"+e,i=a.selector||"",u=w(this),d=u.find(c.title),f=u.find(c.content),m=this,p=u.data(n),h={initialize:function(){h.bind.events(),r.observeChanges&&h.observeChanges(),h.instantiate()},instantiate:function(){p=h,u.data(n,h)},destroy:function(){u.off(t).removeData(n)},refresh:function(){d=u.find(c.title),f=u.find(c.content)},observeChanges:function(){"MutationObserver"in T&&new MutationObserver(function(e){h.refresh()}).observe(m,{childList:!0,subtree:!0})},bind:{events:function(){u.on(r.on+t,c.trigger,h.event.click)}},event:{click:function(){h.toggle.call(this)}},toggle:function(e){var t=e!==k?"number"==typeof e?d.eq(e):w(e).closest(c.title):w(this).closest(c.title),n=t.next(f),e=n.hasClass(s.animating),n=n.hasClass(s.active);n&&!e||!n&&e?r.collapsible&&h.close.call(t):h.open.call(t)},open:function(e){var t=e!==k?"number"==typeof e?d.eq(e):w(e).closest(c.title):w(this).closest(c.title),n=t.next(f),e=n.hasClass(s.animating);n.hasClass(s.active)||e||(r.onOpening.call(n),r.onChanging.call(n),r.exclusive&&h.closeOthers.call(t),t.addClass(s.active),n.stop(!0,!0).addClass(s.animating),r.animateChildren&&(w.fn.transition!==k&&u.transition("is supported")?n.children().transition({animation:"fade in",queue:!1,useFailSafe:!0,debug:r.debug,verbose:r.verbose,duration:r.duration}):n.children().stop(!0,!0).animate({opacity:1},r.duration,h.resetOpacity)),n.slideDown(r.duration,r.easing,function(){n.removeClass(s.animating).addClass(s.active),h.reset.display.call(this),r.onOpen.call(this),r.onChange.call(this)}))},close:function(e){var t=e!==k?"number"==typeof e?d.eq(e):w(e).closest(c.title):w(this).closest(c.title),n=t.next(f),i=n.hasClass(s.animating),e=n.hasClass(s.active);!e&&!(!e&&i)||e&&i||(r.onClosing.call(n),r.onChanging.call(n),t.removeClass(s.active),n.stop(!0,!0).addClass(s.animating),r.animateChildren&&(w.fn.transition!==k&&u.transition("is supported")?n.children().transition({animation:"fade out",queue:!1,useFailSafe:!0,debug:r.debug,verbose:r.verbose,duration:r.duration}):n.children().stop(!0,!0).animate({opacity:0},r.duration,h.resetOpacity)),n.slideUp(r.duration,r.easing,function(){n.removeClass(s.animating).removeClass(s.active),h.reset.display.call(this),r.onClose.call(this),r.onChange.call(this)}))},closeOthers:function(e){var t,n=e!==k?d.eq(e):w(this).closest(c.title),i=n.parents(c.content).prev(c.title),o=n.closest(c.accordion),e=c.title+"."+s.active+":visible",n=c.content+"."+s.active+":visible",a=r.closeNested?(t=o.find(e).not(i)).next(f):(t=o.find(e).not(i),a=o.find(n).find(e).not(i),(t=t.not(a)).next(f));0").insertAfter(l))}},has:{label:function(){return 0 .ui.dimmer",content:".ui.dimmer > .content, .ui.dimmer > .content > .center"},template:{dimmer:function(){return T("
").attr("class","ui dimmer")}}}}(jQuery,window,document),function(Y,Z,K,G){"use strict";Z=void 0!==Z&&Z.Math==Math?Z:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),Y.fn.dropdown=function(M){var V,I=Y(this),N=Y(K),H=I.selector||"",U="ontouchstart"in K.documentElement,W=(new Date).getTime(),B=[],Q=M,$="string"==typeof Q,X=[].slice.call(arguments,1);return I.each(function(n){var e,t,i,o,a,r,s,f=Y.isPlainObject(M)?Y.extend(!0,{},Y.fn.dropdown.settings,M):Y.extend({},Y.fn.dropdown.settings),m=f.className,l=f.message,c=f.fields,p=f.keys,h=f.metadata,u=f.namespace,d=f.regExp,g=f.selector,v=f.error,b=f.templates,y="."+u,x="module-"+u,C=Y(this),w=Y(f.context),T=C.find(g.text),k=C.find(g.search),S=C.find(g.sizer),A=C.find(g.input),P=C.find(g.icon),E=0").html(i).attr("data-"+h.value,t).attr("data-"+h.text,t).addClass(m.addition).addClass(m.item),f.hideAdditions&&i.addClass(m.hidden),n=n===G?i:n.add(i))}),n)},userLabels:function(e){var t=z.get.userValues();t&&Y.each(t,function(e,t){z.add.label(t,t)})},menu:function(){O=Y("
").addClass(m.menu).appendTo(C)},sizer:function(){S=Y("").addClass(m.sizer).insertAfter(k)}},search:function(e){e=e!==G?e:z.get.query(),z.has.minCharacters(e)?z.filter(e):z.hide()},select:{firstUnfiltered:function(){z.remove.selectedItem(),R.not(g.unselectable).not(g.addition+g.hidden).eq(0).addClass(m.selected)},nextAvailable:function(e){var t=(e=e.eq(0)).nextAll(g.item).not(g.unselectable).eq(0),e=e.prevAll(g.item).not(g.unselectable).eq(0);(0").addClass(m.search).prop("autocomplete","off").insertBefore(T)),z.is.multiple()&&z.is.searchSelection()&&!z.has.sizer()&&z.create.sizer(),f.allowTab&&z.set.tabbable()},select:function(){var e=z.get.selectValues();C.is("select")&&(A=C),0").attr("class",A.attr("class")).addClass(m.selection).addClass(m.dropdown).html(b.dropdown(e)).insertBefore(A),A.hasClass(m.multiple)&&!1===A.prop("multiple")&&(z.error(v.missingMultiple),A.prop("multiple",!0)),A.is("[multiple]")&&z.set.multiple(),A.prop("disabled")&&C.addClass(m.disabled),A.removeAttr("class").detach().prependTo(C)),z.refresh()},menu:function(e){O.html(b.menu(e,c)),R=O.find(g.item)},reference:function(){C=C.parent(g.dropdown),L=C.data(x),D=C.get(0),z.refresh(),z.setup.returnedObject()},returnedObject:function(){var e=I.slice(0,n),t=I.slice(n+1);I=e.add(C).add(t)}},refresh:function(){z.refreshSelectors(),z.refreshData()},refreshItems:function(){R=O.find(g.item)},refreshSelectors:function(){T=C.find(g.text),k=C.find(g.search),A=C.find(g.input),P=C.find(g.icon),E=0t.name?1:-1}),i},activeItem:function(){return R.filter("."+m.active)},selectedItem:function(){var e=R.not(g.unselectable).filter("."+m.selected);return 0=f.maxSelections?(f.useLabels&&(R.addClass(m.filtered),z.add.message(l.maxSelections)),!0):(z.remove.message(),z.remove.filteredItem(),z.is.searchSelection()&&z.filterItems(),!1))}},restore:{defaults:function(){z.clear(),z.restore.defaultText(),z.restore.defaultValue()},defaultText:function(){var e=z.get.defaultText();e===z.get.placeholderText?z.set.placeholderText(e):z.set.text(e)},placeholderText:function(){z.set.placeholderText()},defaultValue:function(){var e=z.get.defaultValue();e!==G&&(""!==e?(z.set.value(e),z.set.selected()):(z.remove.activeItem(),z.remove.selectedItem()))},labels:function(){f.allowAdditions&&(f.useLabels||(z.error(v.labels),f.useLabels=!0),z.create.userLabels()),z.check.maxSelections()},selected:function(){z.restore.values(),z.is.multiple()&&z.restore.labels()},values:function(){z.set.initialLoad(),f.apiSettings&&f.saveRemoteData&&z.get.remoteValues()?z.restore.remoteValues():z.set.selected(),z.remove.initialLoad()},remoteValues:function(){var e=z.get.remoteValues();e&&(z.is.single()?Y.each(e,function(e,t){z.set.text(t)}):Y.each(e,function(e,t){z.add.label(e,t)}))}},read:{remoteData:function(e){if(Z.Storage!==G)return(e=sessionStorage.getItem(e))!==G&&e;z.error(v.noStorage)}},save:{defaults:function(){z.save.defaultText(),z.save.placeholderText(),z.save.defaultValue()},defaultValue:function(){var e=z.get.value();C.data(h.defaultValue,e)},defaultText:function(){var e=z.get.text();C.data(h.defaultText,e)},placeholderText:function(){var e;!1!==f.placeholder&&T.hasClass(m.placeholder)&&(e=z.get.text(),C.data(h.placeholderText,e))},remoteData:function(e,t){Z.Storage!==G?sessionStorage.setItem(t,e):z.error(v.noStorage)}},clear:function(){z.is.multiple()&&f.useLabels?z.remove.labels():(z.remove.activeItem(),z.remove.selectedItem()),z.set.placeholderText(),z.clearValue()},clearValue:function(){z.set.value("")},scrollPage:function(e,t){var n=t||z.get.selectedItem(),i=n.closest(g.menu),o=i.outerHeight(),a=i.scrollTop(),t=R.eq(0).outerHeight(),o=Math.floor(o/t),a=(i.prop("scrollHeight"),"up"==e?a-t*o:a+t*o),t=R.not(g.unselectable),o="up"==e?t.index(n)-o:t.index(n)+o,t=("up"==e?0<=o:o").addClass(m.label).attr("data-"+h.value,a).html(b.label(a,t)),i=f.onLabelCreate.call(i,a,t),z.has.label(e)||(f.label.variation&&i.addClass(f.label.variation),!0===n?i.addClass(m.hidden).insertBefore(o).transition(f.label.transition,f.label.duration):i.insertBefore(o))},message:function(e){var t=O.children(g.message),e=f.templates.message(z.add.variables(e));0").html(e).addClass(m.message).appendTo(O)},optionValue:function(e){var t=z.escape.value(e);0").prop("value",t).addClass(m.addition).html(e).appendTo(A),z.observe.select())},userSuggestion:function(e){var t=O.children(g.addition),n=z.get.item(e),i=n&&n.not(g.addition).length,n=0=f.minCharacters},firstLetter:function(e,t){return!(!e||0===e.length||"string"!=typeof t)&&(e=z.get.choiceText(e,!1),(t=t.toLowerCase())==String(e).charAt(0).toLowerCase())},input:function(){return 0=f.maxSelections},allResultsFiltered:function(){var e=R.not(g.addition);return e.filter(g.unselectable).length===e.length},userSuggestion:function(){return 0=e.menu.offset.top-e.context.offset.top+e.menu.height}).below||!t.below&&!t.above,n.removeClass(m.loading),i},openRightward:function(e){var t=e||O,n=!0;return t.addClass(m.loading),e={context:{offset:w.get(0)===Z?{top:0,left:0}:w.offset(),scrollLeft:w.scrollLeft(),width:w.outerWidth()},menu:{offset:t.offset(),width:t.outerWidth()}},z.is.horizontallyScrollableContext()&&(e.menu.offset.left+=e.context.scrollLeft),e.menu.offset.left-e.context.offset.left+e.menu.width>=e.context.scrollLeft+e.context.width&&(n=!1),t.removeClass(m.loading),n},click:function(){return U||"click"==f.on},extendSelect:function(){return f.allowAdditions||f.apiSettings},show:function(){return!z.is.disabled()&&(z.has.items()||z.has.message())},useAPI:function(){return Y.fn.api!==G}},animate:{show:function(e,t){var n=t||O,i=t?function(){}:function(){z.hideSubMenus(),z.hideOthers(),z.set.active()};e="function"==typeof e?e:function(){},z.set.direction(t),t=z.get.transition(t),z.is.selection()&&z.set.scrollPosition(z.get.selectedItem(),!0),(z.is.hidden(n)||z.is.animating(n))&&("none"==t?(i(),n.transition("show"),e.call(D)):Y.fn.transition!==G&&C.transition("is supported")?n.transition({animation:t+" in",debug:f.debug,verbose:f.verbose,duration:f.duration,queue:!0,onStart:i,onComplete:function(){e.call(D)}}):z.error(v.noTransition,t))},hide:function(e,t){var n=t||O,i=(t?f.duration:f.duration,t?function(){}:function(){z.can.click()&&z.unbind.intent(),z.remove.active()}),t=z.get.transition(t);e="function"==typeof e?e:function(){},(z.is.visible(n)||z.is.animating(n))&&("none"==t?(i(),n.transition("hide"),e.call(D)):Y.fn.transition!==G&&C.transition("is supported")?n.transition({animation:t+" out",duration:f.duration,debug:f.debug,verbose:f.verbose,queue:!1,onStart:i,onComplete:function(){e.call(D)}}):z.error(v.transition))}},hideAndClear:function(){z.remove.searchTerm(),z.has.maxSelections()||(z.has.search()?z.hide(function(){z.remove.filteredItem()}):z.hide())},delay:{show:function(){clearTimeout(z.timer),z.timer=setTimeout(z.show,f.delay.show)},hide:function(){clearTimeout(z.timer),z.timer=setTimeout(z.hide,f.delay.hide)}},escape:{value:function(e){var t=Array.isArray(e),n="string"==typeof e,i=!n&&!t,n=n&&-1!==e.search(d.quote),o=[];return i||!n?e:t?(Y.each(e,function(e,t){o.push(t.replace(d.quote,"""))}),o):e.replace(d.quote,""")},string:function(e){return(e=String(e)).replace(d.escape,"\\$&")}},setting:function(e,t){if(Y.isPlainObject(e))Y.extend(!0,f,e);else{if(t===G)return f[e];Y.isPlainObject(f[e])?Y.extend(!0,f[e],t):f[e]=t}},internal:function(e,t){if(Y.isPlainObject(e))Y.extend(!0,z,e);else{if(t===G)return z[e];z[e]=t}},debug:function(){!f.silent&&f.debug&&(f.performance?z.performance.log(arguments):(z.debug=Function.prototype.bind.call(console.info,console,f.name+":"),z.debug.apply(console,arguments)))},verbose:function(){!f.silent&&f.verbose&&f.debug&&(f.performance?z.performance.log(arguments):(z.verbose=Function.prototype.bind.call(console.info,console,f.name+":"),z.verbose.apply(console,arguments)))},error:function(){f.silent||(z.error=Function.prototype.bind.call(console.error,console,f.name+":"),z.error.apply(console,arguments))},performance:{log:function(e){var t,n;f.performance&&(n=(t=(new Date).getTime())-(W||t),W=t,B.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:D,"Execution Time":n})),clearTimeout(z.performance.timer),z.performance.timer=setTimeout(z.performance.display,500)},display:function(){var e=f.name+":",n=0;W=!1,clearTimeout(z.performance.timer),Y.each(B,function(e,t){n+=t["Execution Time"]}),e+=" "+n+"ms",H&&(e+=" '"+H+"'"),(console.group!==G||console.table!==G)&&0{term}",count:"{count} selected",maxSelections:"Max {maxCount} selections",noResults:"No results found.",serverError:"There was an error contacting the server"},error:{action:"You called a dropdown action that was not defined",alreadySetup:"Once a select has been initialized behaviors must be called on the created ui dropdown",labels:"Allowing user additions currently requires the use of labels.",missingMultiple:"